Page({
  onLoad: function (options) {
    setInterval(() => {
      var data = wx.getStorageSync('data')//个人资料
      this.setData({
        avatarUrl: data.avatarUrl,
        nickname: data.nickname
      })
    }, 100)
  },
})